package tv.acgn.advertisement.publish.enumconstant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @program: advertisement-ad-pub-enumconstant
 * @description: 素材类型枚举
 * @author: junG
 * @create: 2019-04-30 00:21
 **/


public class MaterialType {

    @Getter
    @AllArgsConstructor
    public enum IMAGE {
        /**
         * 静态图片
         */
        JPG(1, "jpg"),
        JPEG(2, "jpeg"),
        BMP(3, "bmp"),
        PNG(4, "png"),
        WebP(5, "webp"),
        RAW(6, "raw");
        private int type;

        private String description;

    }

    @Getter
    @AllArgsConstructor
    public enum DYNAMIC_IMAGE {
        /**
         * 动态图片
         */
        GIF(1, "gif"),
        WEBM(2, "webm");
        private int type;

        private String description;

    }

    @Getter
    @AllArgsConstructor
    public enum VIDEO {
        /**
         * 视频类型
         */
        MP4(1, "mp4"),
        MKV(2, "mkv"),
        WMV(3, "wmv"),
        FLV(4, "flv");
        private int type;

        private String description;

    }

    @Getter
    @AllArgsConstructor
    @SuppressWarnings("all")
    public enum VOICE {
        /**
         * 音频类型
         */
        MP3(1, "mp3"),
        AAC(2, "aac"),
        FLAC(3, "flac"),
        TAK(4, "tak"),
        ALAC(5, "alac");
        private int type;

        private String description;

    }
}
